<?php
$aOptions = SofaSuppaStore::initOptions( false );
$copytext = $aOptions[ 'copytext' ];
$social_set = ( strlen( $aOptions[ 'social_set' ] ) > 0 ) ? stripslashes( $aOptions[ 'social_set' ] ) : '';
?>

<div class="clear">&nbsp;</div>
    
</div>

<!-- body wrapper end -->

<!-- 4-column widgetized footer start -->

<div id="footerwrapper">
    
    <div id="footer" class="container_12 clearfix">
    
        <div id="footerLeft" class="grid_6">
            <?php if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( 'Footer Left' ) ) : ?>
            &nbsp;
            <?php endif; ?>
        </div>
        
        <div id="footerRightCenter" class="grid_3">
            <?php if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( 'Footer Center' ) ) : ?>
            &nbsp;
            <?php endif; ?>
        </div>
        
        <div id="footerRight" class="grid_3">
            <?php if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( 'Footer Right' ) ) : ?>
            &nbsp;
            <?php endif; ?>
        </div>
    
    </div>
    
</div>
    
<!-- 4-column widgetized footer end -->

<!-- copyright start -->

<div id="postfooter" class="clearfix">

	<div class="container_12 postwrap relativ">
        
        <div class="socializers grid_10">
        
        <?php if( $social_set != '' ) { echo $social_set; } else echo '&nbsp;'; ?>
            
        </div>
        
        <div class="totopwrap grid_2 omega">
            
            <span id="totop">&nbsp;</span>
            
        </div>
        
    	<div class="rightpostfoot grid_12">
        
        	<span class="copyright small"><?php echo( ( strlen( $copytext ) > 0 ) ? stripslashes( $copytext ) : '&copy; Company Name' ); ?></span>
        
        </div>
        
    </div>

</div>

<!-- copyright end -->

<?php wp_footer(); ?>
            
</div>

<!-- main wrap end -->

</body>
</html>